package com.why.member.feign;

import com.why.common.utils.R;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.context.annotation.ComponentScan;
import org.springframework.stereotype.Component;
import org.springframework.web.bind.annotation.RequestMapping;

/**
 * @program: why-gulimall
 * @description:
 * @author: @why
 * @create: 2021-04-22 09:48
 **/
@Component
@FeignClient("gulimall-coupon")
public interface CouponClient {

    @RequestMapping("/coupon/coupon/member/list")
    public R membercoupons();
}
